<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
       <link rel="stylesheet" href="{$Think.config.Style}/css/ch-ui.admin.css">
    <link rel="stylesheet" href="{$Think.config.Style}/font/css/font-awesome.min.css">
    <script type="text/javascript" src="{$Think.config.Style}/js/jquery.min.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/js/ch-ui.admin.js"></script>
    <script type="text/javascript" src="{$Think.config.Style}/layer/layer.js"></script>
</head>
<body>
    {include file="public/breadcrumb"/}

	<!--结果集标题与导航组件 开始-->
	<div class="result_wrap">
        <div class="result_title">
            <h3>快捷操作</h3>
        </div>
        <div class="result_content">
            <div class="short_wrap">
                <a href="{:url('back/rule/add')}"><i class="fa fa-plus"></i>新增权限菜单</a>
                
            </div>
        </div>
    </div>
    <!--结果集标题与导航组件 结束-->
   <div class="result_wrap">
        <form action="#" method="post">
            <table class="add_tab">
                <tbody>
                    <tr>
                        <th width="120"><i class="require">*</i>上级分类：</th>
                        <td>
                            <select name="parent_id"  class="form-control">
                                        <option value="0">顶级菜单</option>
                                        {volist name="ruleRows" id="vo"}
                                        <option value="{$vo.id}"> {$vo.title}</option>
                                         {volist name="$vo->parent" id="v"}
                                        <option value="{$v.id}"> ┗━{$v.title}</option>
                                         {/volist}
                                        {/volist}
                                    </select>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>菜单名称：</th>
                        <td>
                            <input type="text" class="lg" name="title" placeholder="菜单名称">
                            
                        </td>
                    </tr>
                                        <tr>
                        <th><i class="require">*</i>菜单链接：</th>
                        <td>
                            <input type="text" class="lg" name="name"  placeholder="菜单链接">
                            
                        </td>
                    </tr>

                                        <tr>
                        <th><i class="require">*</i>ICON图标：</th>
                        <td>
                            <input type="text" class="lg" name="class" placeholder="ICON图标">
                            
                        </td>
                    </tr>
                                        <tr>
                        <th><i class="require">*</i>排序：</th>
                        <td>
                            <input type="text" class="lg" name="sort" placeholder="越小越靠前">
                            
                        </td>
                    </tr>
                   
    

                    <tr>
                        <th>是否启用：</th>
                        <td>
                            <label for=""><input type="checkbox" name="status" value="1"></label>
                          
                        </td>
                    </tr>


                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" value="添加">
                            <input type="button" class="back" onclick="history.go(-1)" value="返回">
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>

</body>
</html>